<?php if($userInfo['is_subscribe'] == 0){?>
<div style="height:50px;"></div>
<div class="alert alert-danger alert-dismissible" role="alert" style="position:fixed; background:rgba(0,0,0,0.8); color:#fff; top:0; left:0; width:100%; padding:0; border-radius:0; z-index:1031; font-size:16px; vertical-align:text-bottom;">
  <strong><?php if($userInfo['pid'] && $parentUserInfo['nickname'] != ''){?><img src="<?php echo $parentUserInfo['img_url'];?>" width="50" height="50">&nbsp;&nbsp;您来自<?php echo $parentUserInfo['nickname'];?>的推荐！<?php }else{?><sapn style="line-height:40px; font-size:1.2em;">&nbsp;&nbsp;您还没有关注</sapn><?php }?></strong> <a style="float:right; margin-right:5px; margin-top:6px; margin-bottom:8px;" class="btn btn-danger" href="<?php if($subscribeLink !=''){ echo $subscribeLink;}else{echo 'javascript:void(0);';}?>" data-toggle="modal" data-target="#subscribeImage">点击关注</a>
  <div style="clear:both;"></div>
</div>
<div class="modal fade" style="z-index:2001;" id="subscribeImage" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 style="height:10px; font-size:2.5em; text-align:center;">不能识别<a href="{$subscribeLink}">点击这里</a></h4>
      </div>
      <div class="modal-body">
     <img src="{:getThumbPath($subscribeImage)}" width="100%">
       <p style="text-align:center; font-size:14px;">长按此图识别二维码关注</p>
      </div>
    </div>
  </div> 
</div>
<?php }?>